package com.wgc.ad.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wgc.ad.domain.Ad;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 15776
* @description 针对表【ad(广告表)】的数据库操作Service
* @createDate 2024-07-31 14:21:25
*/
public interface AdService extends IService<Ad> {

    List<Ad> selectAll();

    List<Ad> selectList(Ad iAd);

    Integer insert(Ad iAd);

    Integer delete(String ids);

    Integer update(Ad iAd);

    Page<Ad> pageAll(Integer page, Integer size);

    Page<Ad> pageList(Ad iAd, Integer page, Integer size);

}
